import { IFeidaoAiBrowserComponent } from '@feidao/web/interfaces';

export default async function a004(fd: IFeidaoAiBrowserComponent, ...args: any[]) {
	// 取消 非日期
	const id = args[0].target.dataset.feidaoId;
	const input = fd.data.node.querySelector('[data-feidao-id="input_' + id + '"]') as HTMLInputElement;
	input && input.removeAttribute("disabled");
	input && (input.value = "");
	const input_check = fd.data.node.querySelector('[data-feidao-id=check_' + id + ']') as HTMLInputElement;
	input_check && (input_check.checked = false);
}
